#!/bin/bash
#========================================================================
# Author: YSLin
# Email: 
# File Name: dpatch.sh
# Description: 
#   
# Edit History: 
#   2010-11-24    File created.
#========================================================================

#進入android的module dalvik並且將git diff > dalvik.patch套用到未更新的source code 
#cd android-src-new/dalvik && git diff > ~/dalvik.patch
#cd android-src-old/dalvik && git apply ~/dalvik.patch
#這個會改變dalvik/vm下的native.c等檔案
cd dalvik
git apply ../dalvik.patch
